<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>  
 <head>     
  <title>inserimento nuova convenzione</title>  
 </head>  
 <body>  
  <h2>INSERIRE NUOVA CONVENZIONE</h2>  
  
<form:form action="/asvp/convention/save" modelAttribute="convention" method="POST"> 
      
  <table summary="" style="border: 1px solid red;">
   <tbody>  
   
      <tr>  
        <td><spring:message code="associazione.convenzioni.nome.label"/></td>
        <td><form:input path="name" value="${convention.name}"></form:input></td> 
     </tr>  
     <tr>  
        <td><spring:message code="associazione.convenzioni.descrizione.label"/></td>
        <td><form:input path="description" value="${convention.description}"></form:input></td> 
     </tr>
     <tr>  
        <td><spring:message code="associazione.convenzioni.email.label"/></td>
        <td> <form:input path="email" value="${convention.email}"></form:input></td> 
     </tr>
     <tr>  
        <td><spring:message code="associazione.convenzioni.websiteLink.label"/></td>
        <td> <form:input path="websiteLink" value="${convention.websiteLink}"></form:input></td> 
     </tr>
     <tr>  
        <td><spring:message code="associazione.convenzioni.telefono.label"/></td>
        <td> <form:input path="phone" value="${convention.phone}"></form:input></td> 
     </tr>
     <tr>  
        <td><spring:message code="associazione.convenzioni.stato.label"/></td>
        <td>
        <form:radiobutton path="active" value="true"/>attiva 
        <form:radiobutton path="active" value="false"/>non attiva 
        </td>
     </tr>
    <tr> 
        <td colspan="2"> 
          <input type="submit" value="Submit"></td> 
     </tr>  
   </tbody> 
   
  </table>  
</form:form>
</body>
</html>   